<template>
  <div id="olMap"></div>
</template>
<script  scope setup>
import {
  ref,
  onMounted,
  onBeforeUnmount,
  reactive,
  defineProps,
  defineEmits
} from "vue";
//组件引用
import olMap from '@/assets/js/map/olMap'
//定义变量
const menuOption = ref([]);
const menuFlag = ref(null);
const setMenuStart = () => {
    olMap.initMap();
};
//页面初始化后方法
onMounted(() => {
  setMenuStart();
});
</script>

<style scoped lang="less">
#olMap {
  width: 100%;
  height: 100%;
 
  
}
.ol-overlaycontainer-stopevent{
  display: none !important;
 }
</style>